package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.CmorderApplyImg;
import com.dingreading.cloud.soms.entity.table.CmorderApplyImgTableDef;
import com.dingreading.cloud.soms.mapper.CmorderApplyImgMapper;
import com.dingreading.cloud.soms.service.CmorderApplyImgService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层实现。
 *
 * @author Administrator
 * @since 2024-09-11
 */
@Service
public class CmorderApplyImgServiceImpl extends BaseServiceImpl<CmorderApplyImgMapper, CmorderApplyImg, CmorderApplyImgTableDef> implements CmorderApplyImgService {

    @Override
    protected CmorderApplyImgTableDef getTable() {
        return CmorderApplyImgTableDef.cmorderApplyImg;
    }

    @Override
    public List<CmorderApplyImg> listByApplyCodeIn(List<String> applyCodeList) {
        return getMapper().selectListByCondition(table.applyCode.in(applyCodeList));
    }

}
